#ifndef UTILITY_H
#define UTILITY_H

#include "types.h"
#include <iostream>

using namespace std;

extern Symbol* T;
extern List* nil;

void init_utility ();
string indent (string s="");
list<string> tokenize (string s);

List* createPair (Symbol* key, Object* data);

void add (string* key, Object* data, List* env);
void add (Symbol* key, Object* data, List* env);
void add (List* pair, List* env);

Object* get (string* key, List* env);
Object* get (Symbol* key, List* env);

#endif
